package com.example.casper.Experiment2024.view;

public class Submarine {
    private float x, y;
    private int width, height;

    public Submarine(float x, float y) {
        this.x = x;
        this.y = y;
        this.width = 120;
        this.height = 120;
    }

    public float getX() { return x; }
    public float getY() { return y; }

    public void setX(float x) { this.x = x; }
    public void setY(float y) { this.y = y; }

    public int getWidth() { return width; }
    public int getHeight() { return height; }
}